Changelog
- Fix invalid arguments logging in some assertions.
- Fix confusing error message from
assert_not_equalsfunction. - Fix confusing error message from
assert_items_equalsfunction. - Fix confusing error message from
assert_items_includefunction. - Print
(no reason specified)message instead ofnilvalue when the test is skipped and no reason is specified. - Check
net_box_uriparam is less than max Unix domain socket path length. - Change test run summary report: use verbs in past simple tense (succeeded, failed, xfailed, etc.) instead of nouns (success(es), fail(s), xfail(s), etc.)
- Add
after_testandbefore_testhooks. - Add tap version to the output.
- New
restartserver method. - Add new
evalandcallserver methods for convenient net_box calls. - Server can use a unix socket as a listen port.
- Add
TARANTOOL_ALIASin the server env space. - Server args are updated on start.
- Add
_le,_lt,_ge,_gtassertions. - Write execution time for each test in the verbose mode.
- When capture is disabled and verbose mode is on test names are printed twice: at the start and at the end with result.
assert_error_msg_assertions print return values if no error is generated.- Fix
--repeatrunner option.
- Throw parser error when .json is accessed on response with invalid body.
- Set
Content-Type: application/jsonfor:http_request(..., {json = ...})requests.
- Assertions pretty-prints non-string extra messages (useful for custom errors as tables).
- String values in errors are printed as valid Lua strings (with
%qformatter). - Add
TARANTOOL_DIRto rockspec build.variables - Replace
--errorand--failureoptions with--fail-fast. - Fix stripping luatest trace from backtrace.
- Fix luarocks 3 test engine installation.
assert_istreatsbox.NULLandnilas different values.- Add luacov integration.
- Fix
assert_items_equalsfor repeated values. Add support fortupleitems. - Add
assert_items_includematcher. assert_equalsuses same comparison rules for nested values.- Fix generated group names when running files within specific directory.
- Fix not working
--exclude,--patternoptions - Fix error messages for
*_coversmatchers - Raise error when
group()is called with existing group name. - Allow dot in group name.
- Prevent using
/in group name. - Decide group name from filename for
group()call without args. assertreturns input values.assert[_not]_equalsworks for Tarantool’s box.tuple.- Print tables in lua-compatible way in errors.
- Fix performance issue with large errors messages.
- Unify hooks definition: group hooks are defined via function calls.
- Keep running other groups when group hook failed.
- Prefix and colorize captured output.
- Fix numeric assertions for cdata values.
- Make –shuffle option accept
group,all,nonevalues - Replace
rawoption forServer:http_requestwithraise. - Remove not documented methods inherited from luaunit.
- Colorize report.
- Fix issue with crashes in capture.
- Do not raise error for 2xx responses in Server:http_request
- Don’t run suite hooks when suite is not going to be run.
- Gracefully shutdown even when luanit calls
os.exit. - Show failed tests summary.
- Capture works with large outputs.
- GC’ed processes are killed automatically.
- Print captured output when suite/group hook fails.
- Rename Server:console to Server:net_box.
- Use real time instead of CPU time for duration.
- LDoc comments.
- Make assertions box.NULL aware.
- Luarocks 3 tests engine.
assert_coversmatcher.